using UnityEngine;
using UnityEngine.UI;

public class PopUpInfo : MonoBehaviour
{
	public Text ContentText;

	private Popup popup;

	private void Start()
	{
		popup = (Popup)UnityEngine.Object.FindObjectOfType(typeof(Popup));
	}

	public void Close()
	{
		popup.Option2();
		base.gameObject.SetActive(value: false);
	}

	public void Ok()
	{
		popup.Option1();
		base.gameObject.SetActive(value: false);
	}
}
